// 练习结构体数组
#include <iostream>
struct inflatable
{
    char name[10];
    double volume;
    float price; 
};

int main()
{
    inflatable flats[3] = {{"Apple", 10.10, 1111.0}, {"Pear", 20.20, 2222.0}, {"Banana", 30.30, 3333.0}};
    using namespace std;
    cout << "Flat0 name: " << flats[0].name << " volume: " << flats[0].volume << " price: " << flats[0].price << endl;
    return 0;
}
